<template>
    <ul>
        <li>id:{{ this.$route.query.id }}</li>
        <li>标题：{{ this.$route.query.title }}</li>
        <li>内容：{{ this.$route.query.content }}</li>
    </ul>
</template>
<script>
import Vue from 'vue';
export default Vue.extend({
    name: 'Detail',
    mounted(){
        console.log(this.$route);
    }
})
</script>